package com.example.administrator.myapplication.view;

import android.app.AlertDialog;
import android.content.Context;
import android.os.Bundle;

public class CustomDialog extends AlertDialog {
	private int layoutResID;

	public CustomDialog(Context context, int theme, int layoutResID) {
		super(context, theme);
		this.layoutResID = layoutResID;
	}

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(layoutResID);
	}

}
